package com.lv.LvTourismForSale.bean;
import javax.persistence.*;

import com.lv.LvPriceComboOfTourismForModify.bean.LvPriceComboOfTourismForModify;
import com.lv.LvTourismModel.bean.LvTourismModel;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

import java.util.List;

@Entity
@Table(name = "lv_tourism_for_sale")
public class LvTourismForSale implements BaseEntity{

    private String id;//主键

    private Integer adultSeatNumber;//成人位

    private Integer childSeatNumber;//儿童位

    private Integer saledAdultSeatNumber;//已售成人位

    private Integer saledChildSeatNumber;//已售儿童位

    private java.util.Date serverDate;//服务日期

    private Integer status;//状态：0.在售1.停售

    private java.math.BigDecimal minPrice;//套餐最低价

    private Integer isModifyPriceCombo;//是否修改套餐：0.否，1.是

    private java.util.Date addTime;//添加时间

    private String fkAddUserId;//添加人id

    private java.util.Date modifyTime;//修改时间

    private String fkModifyUserId;//修改人id

    private String fkTourismModelId;//旅游模板id

    private String fkTransportId;//公司id

    private String tourismName;//景点名称

    private Integer allowIncreaseGuestRoom;//是否允许加房：0.否1.是

    private java.math.BigDecimal guestRoomPrice;//加房单价

    private LvTourismModel lvTourismModel;

    private List<LvPriceComboOfTourismForModify> lvPriceComboOfTourismForModifys;

    public void setId(String value){
        this.id = value;
    }
    public void setAdultSeatNumber(Integer value){
        this.adultSeatNumber = value;
    }
    public void setChildSeatNumber(Integer value){
        this.childSeatNumber = value;
    }
    public void setSaledAdultSeatNumber(Integer value){
        this.saledAdultSeatNumber = value;
    }
    public void setSaledChildSeatNumber(Integer value){
        this.saledChildSeatNumber = value;
    }
    public void setServerDate(java.util.Date value){
        this.serverDate = value;
    }
    public void setStatus(Integer value){
        this.status = value;
    }
    public void setMinPrice(java.math.BigDecimal value){
        this.minPrice = value;
    }
    public void setIsModifyPriceCombo(Integer value){
        this.isModifyPriceCombo = value;
    }
    public void setAddTime(java.util.Date value){
        this.addTime = value;
    }
    public void setFkAddUserId(String value){
        this.fkAddUserId = value;
    }
    public void setModifyTime(java.util.Date value){
        this.modifyTime = value;
    }
    public void setFkModifyUserId(String value){
        this.fkModifyUserId = value;
    }
    public void setFkTourismModelId(String value){
        this.fkTourismModelId = value;
    }
    public void setFkTransportId(String value){
        this.fkTransportId = value;
    }
    public void setTourismName(String tourismName) {
        this.tourismName = tourismName;
    }
    public void setLvTourismModel(LvTourismModel lvTourismModel) {
        this.lvTourismModel = lvTourismModel;
    }
    public void setLvPriceComboOfTourismForModifys(List<LvPriceComboOfTourismForModify> lvPriceComboOfTourismForModifys) {
        this.lvPriceComboOfTourismForModifys = lvPriceComboOfTourismForModifys;
    }
    public void setAllowIncreaseGuestRoom(Integer value){
        this.allowIncreaseGuestRoom = value;
    }
    public void setGuestRoomPrice(java.math.BigDecimal value){
        this.guestRoomPrice = value;
    }
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="adult_seat_number",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getAdultSeatNumber(){
        return this.adultSeatNumber;
    }
    @Column(name ="child_seat_number",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getChildSeatNumber(){
        return this.childSeatNumber;
    }
    @Column(name ="saled_adult_seat_number",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getSaledAdultSeatNumber(){
        return this.saledAdultSeatNumber;
    }
    @Column(name ="saled_child_seat_number",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getSaledChildSeatNumber(){
        return this.saledChildSeatNumber;
    }
    @Column(name ="server_date",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getServerDate(){
        return this.serverDate;
    }
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getStatus(){
        return this.status;
    }
    @Column(name ="min_price",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.math.BigDecimal getMinPrice(){
        return this.minPrice;
    }
    @Column(name ="is_modify_price_combo",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getIsModifyPriceCombo(){
        return this.isModifyPriceCombo;
    }
    @Column(name ="add_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getAddTime(){
        return this.addTime;
    }
    @Column(name ="fk_add_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkAddUserId(){
        return this.fkAddUserId;
    }
    @Column(name ="modify_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getModifyTime(){
        return this.modifyTime;
    }
    @Column(name ="fk_modify_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkModifyUserId(){
        return this.fkModifyUserId;
    }
    @Column(name ="fk_tourism_model_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkTourismModelId(){
        return this.fkTourismModelId;
    }
    @Column(name ="fk_transport_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkTransportId(){
        return this.fkTransportId;
    }
    @Column(name ="tourism_name",unique=false,nullable=true,insertable=true,updatable=true,length=64)
    public String getTourismName() {
        return tourismName;
    }
    @Column(name ="allow_increase_guest_room",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getAllowIncreaseGuestRoom(){
        return this.allowIncreaseGuestRoom;
    }
    @Column(name ="guest_room_price",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.math.BigDecimal getGuestRoomPrice(){
        return this.guestRoomPrice;
    }
    @Transient
    public LvTourismModel getLvTourismModel() {
        return lvTourismModel;
    }
    @Transient
    public List<LvPriceComboOfTourismForModify> getLvPriceComboOfTourismForModifys() {
        return lvPriceComboOfTourismForModifys;
    }
}
